<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport"
		content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" href="/public/static/layuiadmin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="/public/static/layuiadmin/style/admin.css" media="all">
	<style>
		.layui-form-label {
			width: 160px !important;
		}

		.layui-input-block {
			margin-left: 190px;
		}
	</style>
</head>

<body>
	<div class="layui-fluid">
		<div class="layui-card">
			<div class="layui-card-body" style="padding: 15px;">
				<form class="layui-form" method="post" lay-filter="component-form-group">
					<!-- <blockquote class="layui-elem-quote">订单编号：</blockquote> -->
					<fieldset class="layui-elem-field">
						<legend>用户信息</legend>
						<div class="layui-field-box">
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">类型：</label>
										<div class="layui-input-mid">
											{if $info.type ==1}
											<button type="button" class="layui-btn">个人</button>
											{elseif $info.type == 2 /}
											<button type="button" class="layui-btn layui-btn-normal">企业</button>
											{else /}
											<button type="button" class="layui-btn layui-btn-danger">企业</button>
											{/if}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">用户名：</label>
										<div class="layui-form-mid">
											{$info.username}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">邮箱：</label>
										<div class="layui-form-mid">
											{$info.email}
										</div>
									</div>
								</div>
							</div>
							<hr>
							{if $info.type ==2 || $info.type ==3}
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">企业名称：</label>
										<div class="layui-form-mid">
											{$info.en_name}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">企业地址：</label>
										<div class="layui-form-mid">
											{$info.en_address}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">联系电话：</label>
										<div class="layui-form-mid">
											{$info.company_phone}
										</div>
									</div>
								</div>
							</div>
							<hr>
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">注册地址：</label>
										<div class="layui-form-mid">
											{$info.register_address}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">统一社会信用代码：</label>
										<div class="layui-form-mid">
											{$info.credit_code}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">联系人：</label>
										<div class="layui-form-mid">
											{$info.contact}
										</div>
									</div>
								</div>
							</div>
							<hr>
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">营业执照：</label>
										<div class="layui-form-mid">
											<img src="{$info.usiness_license}" alt="营业执照">
										</div>
									</div>
								</div>
							</div>
							<hr>
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">注册时间：</label>
										<div class="layui-form-mid">
											{$info.register_time}
										</div>
									</div>
								</div>
							</div>
							{else /}
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">联系人：</label>
										<div class="layui-form-mid">
											{$info.name}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">手机号：</label>
										<div class="layui-form-mid">
											{$info.phone}
										</div>
									</div>
								</div>
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">身份证号：</label>
										<div class="layui-form-mid">
											{$info.idcard}
										</div>
									</div>
								</div>
							</div>
							<hr>
							<div class="layui-row">
								<div class="layui-col-xs4">
									<div class="layui-form-item">
										<label class="layui-form-label">地址：</label>
										<div class="layui-form-mid">
											{$info.address}
										</div>
									</div>
								</div>
							</div>
							{/if}
						</div>
			</div>
			</fieldset>
			</form>
		</div>
	</div>
	</div>
	<script src="/public/static/layuiadmin/layui/layui.js"></script>
	<script>
		layui.config({
			base: '/public/static/layuiadmin/' // 静态资源所在路径
		}).extend({
			index: 'lib/index', // 主入口模块
			api: 'api'
		}).use(['index', 'form', 'laydate', 'api', 'upload'], function () {
			var $ = layui.$,
				admin = layui.admin,
				element = layui.element,
				layer = layui.layer,
				laydate = layui.laydate,
				api = layui.api,
				upload = layui.upload,
				form = layui.form;

			form.render(null, 'component-form-group');
		});
	</script>
</body>

</html>